package com.service;

import com.dao.MemberDAO;
import com.model.Card;
import com.model.Member;

public class MemberController extends Controller {
	
	Member member = null;
	
	public MemberController(String command, int type) {
		super();
		
		String [] commands = command.split(" ");
		member = new Member(commands[2], commands[3], commands[4]);
		MemberDAO memberDAO = new MemberDAO();
		member = memberDAO.creatMember(member);
		
	}
	
	public Member queryResult() {
		return member;
	}
}
